package com.watch.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.watch.system.model.bo.UserFormBO;
import com.watch.system.model.dto.UserAuthInfo;
import com.watch.system.model.entity.CarAuth;
import com.watch.system.model.entity.CarUser;
import com.watch.system.model.form.MsgDescForm;
import com.watch.system.model.query.CarAuthPageQuery;
import com.watch.system.model.query.CarUserPageQuery;
import com.watch.system.model.query.UserPageQuery;
import com.watch.system.model.vo.*;
import com.watch.system.plugin.mybatis.annotation.DataPermission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 用户持久层
 *
 * @author haoxr
 * @since 2024/1/26
 */
@Mapper
public interface CarAuthMapper extends BaseMapper<CarAuth> {

    Page<CarAuthPageVO> getAuthPage(Page<CarAuthPageVO> page, CarAuthPageQuery queryParams);

    int updateCarAuth(CarAuth carAuthParma);

    boolean removeByIds(List<Long> ids);

    List<CarAuthExportVO> listExportAuths(CarAuthPageQuery queryParams);

    int saveAuthImport(CarAuthImportVO carAdImportVO);

    void insertMsg(MsgDescForm msgDescForm);
}
